package com.ky.manage.model.response;

import java.io.Serializable;

/**
 * 用户信息resp
 */
public class UserInfoResp implements Serializable {
    public String msg;
    //分公司文员
    public String postGroup;
    //燃气公司
    public String roleGroup;
    public int code;
    //用户信息
    public UserInfo data;

    /**
     *      "userId": 111,
     * 		"userName": "18610286791",
     * 		"nickName": "luancuan",
     * 		"email": "",
     * 		"phonenumber": "18610286791",
     * 		"sex": "0",
     * 		"avatar": "/profile/avatar/2021/09/17/ce692af3-5a0e-4ab7-a99a-afdacf1fdd6f.jpg",
     * 		"numberId": "231",
     * 		"areaName": null,
     * 		"areaCode": null,
     * 		"detailAddress": null,
     * 		"businessOutletsId": 176,
     * 		"businessOutletsName": "奥莱斯晋州服务网点"
     */
    public static class UserInfo implements Serializable {
        public int userId;
        public String userName;
        public String nickName;
        public String email;
        public String phonenumber;
        //0 男性， 1 女性
        public String sex;
        ///profile/avatar/2021/08/08/678b0a2b-ef0d-45ac-aae4-6f123c4c1750.jpeg
        public String avatar;
        //身份证号
        public String numberId;
        //所属区域code
        public String areaCode;
        //所属区域
        public String areaName;
        public String detailAddress;
        public int businessOutletsId;
        public String businessOutletsName;


        @Override
        public String toString() {
            return "UserInfo{" +
                    "nickName='" + nickName + '\'' +
                    ", phonenumber='" + phonenumber + '\'' +
                    ", sex='" + sex + '\'' +
                    ", avatar='" + avatar + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "UserInfoResp{" +
                "msg='" + msg + '\'' +
                ", postGroup='" + postGroup + '\'' +
                ", roleGroup='" + roleGroup + '\'' +
                ", code=" + code +
                ", data=" + data +
                '}';
    }
}
